---
page_title: "cloudflare_zone_cache_reserve Resource - Cloudflare"
subcategory: ""
description: |-
  Provides a Cloudflare Cache Reserve resource. Cache Reserve can
  increase cache lifetimes by automatically storing all cacheable
  files in Cloudflare's persistent object storage buckets.
  Note: Using Cache Reserve without Tiered Cache is not recommended.
---

# cloudflare_zone_cache_reserve (Resource)

Provides a Cloudflare Cache Reserve resource. Cache Reserve can
increase cache lifetimes by automatically storing all cacheable
files in Cloudflare's persistent object storage buckets.

Note: Using Cache Reserve without Tiered Cache is not recommended.

## Example Usage

```terraform
resource "cloudflare_zone_cache_reserve" "example" {
  zone_id = "0da42c8d2132a9ddaf714f9e7c920711"
  enabled = true
}
```
<!-- schema generated by tfplugindocs -->
## Schema

### Required

- `enabled` (Boolean) Whether to enable or disable Cache Reserve support for a given zone.
- `zone_id` (String) The zone identifier to target for the resource. **Modifying this attribute will force creation of a new resource.**

### Read-Only

- `id` (String) The ID of this resource.

## Import

Import is supported using the following syntax:

```shell
$ terraform import cloudflare_zone_cache_reserve.example <zone_id>
```
